<?php
namespace Home\Controller;

class UserController extends BaseController
{
    // 个人信息页
    public function profile()
    {
        //var_dump($_SESSION['userinfo']);
        $data = I('post.');
        //var_dump($data);
        //var_dump($_SESSION['userInfo']);
        $this->display();
    }

   

    public function update()
    {
        $userInfo = I('post.');
        var_dump($userInfo);
        $parts = M('member')->find();
       
    }
}